home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14193 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  926 b 

  1. Path: news.mindspring.com!usenet
  2. From: rudd@mindspring.com (Justin Rudd)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: CString FileName = "c:\windows\Myfile.ini"
  5. Date: Fri, 29 Mar 1996 09:14:09 GMT
  6. Organization: MindSpring Enterprises
  7. Message-ID: <4jg9r3$mk0@mule2.mindspring.com>
  8. References: <4jg6qf$2d1@bignews.shef.ac.uk>
  9. Reply-To: rudd@mindspring.com
  10. NNTP-Posting-Host: rudd.mindspring.com
  11. X-Newsreader: Forte Free Agent v0.55
  12.  
  13. Abdullah Alghamdi <abdullah@dcs.shef.ac.uk> wrote:
  14.  
  15. >The compiler VC++ does not accept the following value for CString
  16.  
  17. >CString FileName = "c:\windows\Myfile.ini";
  18.  
  19. >I think it`s got problem with "\" character.
  20.  
  21. >any help will be appreciated.
  22. >Yours sincerely.
  23.  
  24. You are right it is the "\" character.
  25.  
  26. Do this:
  27.  
  28. CString FileName = "c:\\windows\\myfile.ini";
  29.  
  30.  
  31. Justin Rudd
  32. rudd@mindspring.com
  33. =======================================
  34. It'll work...trust me ;-)
  35. =======================================
  36.  
  37.  
  38.